100
|
Show a combination of lines and filled curves in the overview

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->VisualAppearance->Add(1,TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\EBN\\googlebtn.ebn"));
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum::exOverviewSelResize] = 0x1808080;
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum::exOverviewSel] = 0x1f0f0f0;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Graph1->set_SeriesColors(TVariant("blue,lightblue,green"));
Exgraphlib_tlb::IValueAxesPtr var_ValueAxes = Graph1->ValueAxes;
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = var_ValueAxes->Add(TNoParam());
var_ValueAxis->set_Start(TVariant(0.1));
var_ValueAxis->CursorFormat = L"(value format ``) replace `.` with `<font ;6><off -4><fgcolor A0A0A0> `";
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis1 = var_ValueAxes->Add(TVariant("2nd"));
var_ValueAxis1->set_End(TVariant(0.1));
var_ValueAxis1->Visible = false;
var_ValueAxis1->MajorGridLines->set_Color(TVariant(-1));
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Date"));
var_CategoryAxis->Format = L"value mid 9 left 2";
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->Format = L"`<fgcolor black>` + ((0:=date(value)) format `mmm`) + (month(=:0) = 1 ? `<br><b>` + (=:0 format `YYYY`) : ``)";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextAlignBottom | Exgraphlib_tlb::DrawTextFormatEnum::exTextAlignRight;
var_FormatGridLinesOptions->set_Color(TVariant("lightgray"));
var_CategoryAxis->MajorTicks->set_Color(TVariant("black"));
var_CategoryAxis->CursorFormat = L"value left 10";
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions1 = var_CategoryAxis->OverviewGridLines;
var_FormatGridLinesOptions1->Format = L"value left 4";
var_FormatGridLinesOptions1->set_Color(TVariant("lightgray"));
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
Exgraphlib_tlb::ISeriePtr var_Serie = var_Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"<fgcolor blue>MSFT</fgcolor>";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
var_Serie->CursorFormat = TVariant(String("`Open: <b>` + (%v0 format `0`) + `</b><br>High: ` + (%v1 format `0`) + `<br>Low: ` + (%v2 format `0`) + `<br>Close: <b>` + (%v1") +
" format `0`) + `</b>`");
Exgraphlib_tlb::ISeriePtr var_Serie1 = var_Series->Add(TNoParam(),TNoParam());
var_Serie1->Name = L"<fgcolor lightblue>Volume</fgcolor>";
var_Serie1->set_Data(TVariant("Volume"));
var_Serie1->Axis = L"2nd";
var_Serie1->CursorFormat = L"(name replace `lightblue` with `white`) + `: ` + (value format `0`)";
Exgraphlib_tlb::ISeriePtr var_Serie2 = var_Series->Add(TNoParam(),TNoParam());
var_Serie2->Name = L"<fgcolor green>Adj Close</fgcolor>";
var_Serie2->set_Data(TVariant("Adj Close"));
var_Serie2->Type = L"line";
var_Serie2->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exLineSize,TVariant(2));
var_Serie2->Style = Exgraphlib_tlb::SerieStyleEnum::exSpline;
var_Serie2->Visible = false;
var_Serie2->CursorFormat = L"(name replace `green` with `white`) + `: ` + (value format `0`)";
Exgraphlib_tlb::IOverviewPtr var_Overview = Graph1->Overview;
var_Overview->Visible = true;
var_Overview->Serie = L"0,1:darkblue-fill lightblue";
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->Grid = L"x1";
Graph1->Cursor->Visible = true;
Graph1->EndUpdate();
|
99
|
Display multiple curves of values in the overview

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Exgraphlib_tlb::IOverviewPtr var_Overview = Graph1->Overview;
var_Overview->Visible = true;
var_Overview->Serie = L"0:black,0[1]:red,0[2]:blue,0[3]:green";
Graph1->EndUpdate();
|
98
|
Display the series as a filled curve rather than a line in the overview

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Exgraphlib_tlb::IOverviewPtr var_Overview = Graph1->Overview;
var_Overview->Visible = true;
var_Overview->Serie = L"0:red-fill";
Graph1->EndUpdate();
|
97
|
Redefine the color to show the serie within the overview

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Exgraphlib_tlb::IOverviewPtr var_Overview = Graph1->Overview;
var_Overview->Visible = true;
var_Overview->Serie = L"0:red";
Graph1->EndUpdate();
|
96
|
Defines the color, style and width/size to display the lines of values in the overview

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Exgraphlib_tlb::IOverviewPtr var_Overview = Graph1->Overview;
var_Overview->Visible = true;
Exgraphlib_tlb::ILineOptionsPtr var_LineOptions = var_Overview->Line;
var_LineOptions->set_Color(TVariant("red"));
var_LineOptions->Width = 2;
var_LineOptions->Style = 2;
Graph1->EndUpdate();
|
95
|
Resizes of the control's overview

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Exgraphlib_tlb::IOverviewPtr var_Overview = Graph1->Overview;
var_Overview->Visible = true;
var_Overview->Size = 32;
Graph1->EndUpdate();
|
94
|
Anchors the overview-window

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Exgraphlib_tlb::IOverviewPtr var_Overview = Graph1->Overview;
var_Overview->Visible = true;
var_Overview->Dock = Exgraphlib_tlb::PanelDockEnum::exLeft;
Graph1->EndUpdate();
|
93
|
Shows the overview

Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"msft";
var_Serie->set_Data(TVariant("Open,High,Low,Close"));
var_Serie->Type = L"candle";
Graph1->Overview->Visible = true;
Graph1->EndUpdate();
|
92
|
Locks the legend (no value is hidden or shown when user clicks a symbol)
Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->Locked = true;
Graph1->EndUpdate();
|
91
|
Aligns the legend's content

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->Grid = L"2x";
var_Legend->Align = Exgraphlib_tlb::LegendAlignEnum::exStart;
Graph1->EndUpdate();
|
90
|
Arranges the legend objects on columns and rows

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->Grid = L"2x";
Graph1->EndUpdate();
|
89
|
Arranges the legend objects on columns and rows

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->Flow = Exgraphlib_tlb::LegendFlowEnum::exTopToBottom;
var_Legend->Grid = L"x2";
Graph1->EndUpdate();
|
88
|
Arranges the legend objects from left to right or top to bottom

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->Flow = Exgraphlib_tlb::LegendFlowEnum::exTopToBottom;
Graph1->EndUpdate();
|
87
|
Defines the size to display the symbol, within the legend

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->set_SymbolWidth(TVariant(32));
var_Legend->set_SymbolHeight(TVariant(32));
Graph1->EndUpdate();
|
86
|
Defines the height to display the symbol, within the legend

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->set_SymbolHeight(TVariant(32));
Graph1->EndUpdate();
|
85
|
Defines the width to display the symbol, within the legend

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->set_SymbolWidth(TVariant(32));
Graph1->EndUpdate();
|
84
|
Aligns the symbol of the serie relative to the label of the serie, within the legend

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->SymbolAlign = Exgraphlib_tlb::LegendSymbolAlignmentEnum::exSymbolCenter | Exgraphlib_tlb::LegendSymbolAlignmentEnum::exSymbolTop;
Graph1->EndUpdate();
|
83
|
Displays the labels using a fixed-size

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->FormatText = Exgraphlib_tlb::DrawTextFormatEnum::exTextWordBreak;
var_Legend->LabelFixedWidth = 48;
var_Legend->LabelFixedHeight = 32;
Graph1->EndUpdate();
|
82
|
Displays the labels using a fixed-height

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->FormatText = Exgraphlib_tlb::DrawTextFormatEnum::exTextAlignVCenter;
var_Legend->LabelFixedHeight = 32;
var_Legend->Dock = Exgraphlib_tlb::PanelDockEnum::exLeft;
Graph1->EndUpdate();
|
81
|
Displays the labels using a fixed-width

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->FormatText = Exgraphlib_tlb::DrawTextFormatEnum::exTextEndEllipsis;
var_Legend->LabelFixedWidth = 32;
Graph1->EndUpdate();
|
80
|
Hides the labels on the legend (method 2)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam())->LegendFormat = L"``";
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
79
|
Hides the labels on the legend (method 1)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->FormatText = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
var_Legend->LabelFixedWidth = 1;
Graph1->EndUpdate();
|
78
|
Specifies the flags the labels use to display on the legend (for instance, displays the labels on multiple lines)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->FormatText = Exgraphlib_tlb::DrawTextFormatEnum::exTextWordBreak;
var_Legend->LabelFixedWidth = 48;
Graph1->EndUpdate();
|
77
|
Reverses the order of the items within the legend

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->Reverse = true;
Graph1->EndUpdate();
|
76
|
Defines the legend's padding (space between legend's symbol/label and its borders)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->set_Pad(TVariant("12,0"));
Graph1->EndUpdate();
|
75
|
Specifies the edge of the container the legend-window is anchored to

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
var_Legend->Dock = Exgraphlib_tlb::PanelDockEnum::exTop;
Graph1->EndUpdate();
|
74
|
Show the legend

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->AsPercent = true;
Graph1->Series->Add(TVariant("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"),TNoParam());
Graph1->Legend->Visible = true;
Graph1->EndUpdate();
|
73
|
Defines the tooltip's padding (space between tooltip's caption and its borders), for tooltips when cursor hovers the chart

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Series->Add(TVariant("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->set_TooltipPad(TVariant("8,8"));
Graph1->EndUpdate();
|
72
|
Defines the foreground and background colors to show the tooltips on values

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Series->Add(TVariant("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->set_SerieTooltipBackColor(TVariant("red"));
var_Cursor->set_SerieTooltipForeColor(TVariant("yellow"));
Graph1->EndUpdate();
|
71
|
Defines the foreground and background colors to show the tooltips on axes

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Series->Add(TVariant("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->set_AxisTooltipBackColor(TVariant("red"));
var_Cursor->set_AxisTooltipForeColor(TVariant("yellow"));
Graph1->EndUpdate();
|
70
|
Defines the color, width or style of line to display the crosshair over the hover/touch area (showCursorCategoryLine or showCursorValueLine)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Series->Add(TVariant("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
Exgraphlib_tlb::ILineOptionsPtr var_LineOptions = var_Cursor->Line;
var_LineOptions->set_Color(TVariant("red"));
var_LineOptions->Style = 0;
var_LineOptions->Width = 2;
Graph1->EndUpdate();
|
69
|
Hides the horizontal x-line, when the crosshair cursor hovers the chart (available for xy-chart types only)

Graph1->BeginUpdate();
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("11 22 33,44 55 66,77 88 99,12 34 56,78 90 23"),TNoParam());
var_Serie->Type = L"bubble";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(64));
Exgraphlib_tlb::ISeriePtr var_Serie1 = Graph1->Series->Add(TVariant("21 32 43,54 65 76,87 98 09,45 67 89,90 23 45"),TNoParam());
var_Serie1->Type = L"bubble";
var_Serie1->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(64));
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorYLine = false;
Graph1->EndUpdate();
|
68
|
Hides the vertical y-line, when the crosshair cursor hovers the chart (available for xy-chart types only)

Graph1->BeginUpdate();
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant("11 22 33,44 55 66,77 88 99,12 34 56,78 90 23"),TNoParam());
var_Serie->Type = L"bubble";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(64));
Exgraphlib_tlb::ISeriePtr var_Serie1 = Graph1->Series->Add(TVariant("21 32 43,54 65 76,87 98 09,45 67 89,90 23 45"),TNoParam());
var_Serie1->Type = L"bubble";
var_Serie1->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(64));
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorXLine = false;
Graph1->EndUpdate();
|
67
|
Hides the horizontal/vertical value/y-line, when the crosshair cursor hovers the chart

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorValueLine = false;
Graph1->EndUpdate();
|
66
|
Displays all tooltips for all series of the category unit being indicated by the vertical/horizontal category/x-line

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Series->Add(TVariant("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorSerieTooltip = Exgraphlib_tlb::ShowCursorSerieTooltipEnum::exCursorSerieShowAll;
Graph1->EndUpdate();
|
65
|
The pointer indicates the series whose tooltip is displayed, when the crosshair cursor hovers its chart

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Series->Add(TVariant("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorSerieTooltip = Exgraphlib_tlb::ShowCursorSerieTooltipEnum::exCursorSerieShowExact;
Graph1->EndUpdate();
|
64
|
Hides the tooltip when the crosshair cursor hovers the chart

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Series->Add(TVariant("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorSerieTooltip = Exgraphlib_tlb::ShowCursorSerieTooltipEnum::exCursorSerieHide;
Graph1->EndUpdate();
|
63
|
Shows the category/x-line when the cursor is near the value

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorCategoryLine = Exgraphlib_tlb::ShowCursorCategoryLineEnum::exCursorCategoryShowNear;
Graph1->EndUpdate();
|
62
|
Hides the cursor's category/x-line

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Exgraphlib_tlb::IExCursorPtr var_Cursor = Graph1->Cursor;
var_Cursor->Visible = true;
var_Cursor->ShowCursorCategoryLine = Exgraphlib_tlb::ShowCursorCategoryLineEnum::exCursorCategoryHide;
Graph1->EndUpdate();
|
61
|
How can I show the values from the cursor

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"),TNoParam());
Graph1->Cursor->Visible = true;
Graph1->EndUpdate();
|
60
|
Defines the style to display the axis-line
Graph1->BeginUpdate();
Graph1->ValueAxis->AxisLine->Style = 2;
Graph1->CategoryAxis->AxisLine->Style = 2;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(5") +
"90741),Bordeaux(589649),Lille(484786)"),TNoParam());
Graph1->EndUpdate();
|
59
|
Defines the color to show the axis

Graph1->BeginUpdate();
Graph1->ValueAxis->AxisLine->set_Color(TVariant("red"));
Graph1->CategoryAxis->AxisLine->set_Color(TVariant("red"));
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(5") +
"90741),Bordeaux(589649),Lille(484786)"),TNoParam());
Graph1->EndUpdate();
|
58
|
Specifies the step to show the ticks for value or category axes

Graph1->BeginUpdate();
Graph1->ValueAxis->MajorTicks->Step = 2;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
57
|
Specifies the number of ticks to skip for value or category axes

Graph1->BeginUpdate();
Graph1->ValueAxis->MajorTicks->Skip = 3;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
56
|
Defines the style to show the major-ticks of value or category axes
Graph1->BeginUpdate();
Exgraphlib_tlb::ITickOptionsPtr var_TickOptions = Graph1->ValueAxis->MajorTicks;
var_TickOptions->Style = 1;
var_TickOptions->Width = 3;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
55
|
Defines the color to show the major-ticks of value or category axes

Graph1->BeginUpdate();
Exgraphlib_tlb::ITickOptionsPtr var_TickOptions = Graph1->ValueAxis->MajorTicks;
var_TickOptions->set_Color(TVariant("red"));
var_TickOptions->Width = 3;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
54
|
Specifies the size to show the major-ticks of value or category axes
Graph1->BeginUpdate();
Graph1->ValueAxis->MajorTicks->Width = 3;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu") +
"nd(586600),Essen(582760),Bremen(565719)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
53
|
Defines the step to show the major-grid lines, for value or category axes

Graph1->BeginUpdate();
Graph1->ValueAxis->MajorGridLines->Step = 2;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
52
|
Specifies the number of major grid-line's to skip, for value or category axes

Graph1->BeginUpdate();
Graph1->ValueAxis->MajorGridLines->Skip = 3;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
51
|
Specifies the style of the major grid-line (dash, dot, ...), for value or category axes

Graph1->BeginUpdate();
Graph1->ValueAxis->MajorGridLines->Style = 2;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
50
|
Specifies the major grid-line's color, for value or category axes

Graph1->BeginUpdate();
Graph1->ValueAxis->MajorGridLines->set_Color(TVariant("red"));
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
49
|
Specifies the major grid-line's width or size, for value or category axes

Graph1->BeginUpdate();
Graph1->ValueAxis->MajorGridLines->Width = 2;
Graph1->AutoFit = true;
Graph1->Series->Add(TVariant(String("Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2") +
"69506),Ploiesti(209945),Oradea(222239)"),TNoParam());
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
48
|
Hide the labels of the grid lines (chart, overview)

Graph1->BeginUpdate();
Graph1->ValueSize = 64;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Format = L"value";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
47
|
Aligns the labels of the grid lines (chart, overview)

Graph1->BeginUpdate();
Graph1->ValueSize = 64;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Format = L"`<fgcolor gray>` + value";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextNoClip | Exgraphlib_tlb::DrawTextFormatEnum::exTextAlignRight;
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
46
|
Defines where the grid lines appear on chart or overview

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Format = L"value = `Sitka`";
var_FormatGridLinesOptions->Align = Exgraphlib_tlb::DrawTextFormatEnum::exTextCalcRect;
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
45
|
Defines the labels between grid lines (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->Format = L"``";
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Format = L"`<c>` + value + `<br><c>` + index";
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
44
|
Defines the step to show the grid lines (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Format = L"index";
var_FormatGridLinesOptions->Step = 2;
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
43
|
Specifies the number of grid lines to skip (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Format = L"index";
var_FormatGridLinesOptions->Skip = 3;
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
42
|
Defines the grid-line dash-dot-dot-style (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Style = 4;
var_FormatGridLinesOptions->Format = L"index";
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
41
|
Defines the grid-line dash-dot-style (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Style = 3;
var_FormatGridLinesOptions->Format = L"index";
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
40
|
Defines the grid-line dot-style (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Style = 2;
var_FormatGridLinesOptions->Format = L"index";
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
39
|
Defines the grid-line dash-style (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Style = 1;
var_FormatGridLinesOptions->Format = L"index";
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
38
|
Specifies the grid-line's color (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("red"));
var_FormatGridLinesOptions->Format = L"index";
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
37
|
Specifies the grid-line's width or size (chart, overview)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ICategoryAxisPtr var_CategoryAxis = Graph1->CategoryAxis;
var_CategoryAxis->set_Categories(TVariant("Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer"));
Exgraphlib_tlb::IFormatGridLinesOptionsPtr var_FormatGridLinesOptions = var_CategoryAxis->ChartGridLines;
var_FormatGridLinesOptions->set_Color(TVariant("black"));
var_FormatGridLinesOptions->Format = L"index";
var_FormatGridLinesOptions->Width = 2;
Graph1->Series->Add(TVariant("291247,32269,30917,8588,8208,10529,7757,5968,6481,7393"),TNoParam());
Graph1->EndUpdate();
|
36
|
Occurs when the user dblclk the left mouse button over an object
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
void __fastcall TForm1::Graph1DblClick(TObject *Sender,short Shift,int X,int Y)
{
OutputDebugString( L"DblClick event" );
}
Graph1->ValueSize = 18;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil") +
"}(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{" +
"China}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(6" +
"96),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiâni" +
"a{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)"),TNoParam());
var_Serie->Type = L"Col";
var_Serie->Vertical = true;
Graph1->Sort = L"0:D";
|
35
|
Occurs when the user presses and then releases the left mouse button over the control
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void __fastcall TForm1::Graph1Click(TObject *Sender)
{
OutputDebugString( L"Click event" );
}
Graph1->ValueSize = 18;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil") +
"}(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{" +
"China}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(6" +
"96),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiâni" +
"a{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)"),TNoParam());
var_Serie->Type = L"Col";
var_Serie->Vertical = true;
|
34
|
Determine the code of the key the user presses
// KeyPress event - Occurs when the user presses and releases an ANSI key.
void __fastcall TForm1::Graph1KeyPress(TObject *Sender,short * KeyAscii)
{
// print"KeyAscii",KeyAscii)
}
Graph1->ValueSize = 48;
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exUpdateRangeOnScroll] = TVariant(0);
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("China(1403500365),India(1368737513),UnitedStates(330810184),Indonesia(272881945),Pakistan(220892331),Brazil(212559417),Nigeria(") +
"206139587),Bangladesh(169575884),Russia(145912025),Mexico(128932753),Japan(126476458),Ethiopia(114963588),Philippines(112392078)" +
",Egypt(110530608),Vietnam(97429061),DR.Congo(89561404),Turkey(84339067),Iran(83720412),Germany(83132799),Thailand(69799978),Unit" +
"edKingdom(68207116),France(65311982),Italy(59554028),Tanzania(59091392),SouthAfrica(58775022)"),TNoParam());
var_Serie->Type = L"Pie";
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
var_Serie->ValueFormat = L"category";
|
33
|
Determine the code of the key the user just released
// KeyUp event - Occurs when the user releases a key while an object has the focus.
void __fastcall TForm1::Graph1KeyUp(TObject *Sender,short * KeyCode,short Shift)
{
// print"KeyCode",KeyCode)
}
Graph1->ValueSize = 48;
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exUpdateRangeOnScroll] = TVariant(0);
Graph1->Series->Add(TVariant(String("Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argenti") +
"na(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),M" +
"exico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Cha" +
"d(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)"),TNoParam());
|
32
|
Determine the code of the key the user presses
// KeyDown event - Occurs when the user presses a key while an object has the focus.
void __fastcall TForm1::Graph1KeyDown(TObject *Sender,short * KeyCode,short Shift)
{
// print"KeyCode",KeyCode)
}
Graph1->ValueSize = 48;
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exUpdateRangeOnScroll] = TVariant(0);
Graph1->Series->Add(TVariant(String("Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argenti") +
"na(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),M" +
"exico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Cha" +
"d(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)"),TNoParam());
|
31
|
How can reverse the chart

Graph1->AutoFit = true;
Graph1->ValueAxis->Reverse = true;
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)"),TNoParam());
var_Serie->Vertical = true;
Graph1->set_SeriesColors(TVariant("dodgerblue"));
|
30
|
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

Graph1->BeginUpdate();
Graph1->ScrollBars = Exgraphlib_tlb::ScrollBarsEnum::exDisableBoth;
Graph1->ScrollPartVisible[Exgraphlib_tlb::ScrollBarEnum::exVScroll,Exgraphlib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Graph1->ScrollPartVisible[Exgraphlib_tlb::ScrollBarEnum::exHScroll,Exgraphlib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Graph1->ScrollPartVisible[Exgraphlib_tlb::ScrollBarEnum(0x2),Exgraphlib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Graph1->ScrollWidth = 4;
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum(0x114)] = RGB(240,240,240);
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum(0x104)] = RGB(128,128,128);
Graph1->ScrollHeight = 4;
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum(0x194)] = Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum(0x114)];
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum(0x184)] = Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum(0x104)];
Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum(0x12c | Exgraphlib_tlb::BackgroundPartEnum::exSerieCursorTooltipTransparent)] = Graph1->Background[Exgraphlib_tlb::BackgroundPartEnum(0x114)];
Graph1->BeginUpdate();
Graph1->ValueSize = 6;
Graph1->set_Data(TVariant("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt"));
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->Name = L"aapl";
var_Serie->set_Data(TVariant("AAPL (open),AAPL (high),AAPL (low),AAPL (close)"));
var_Serie->Type = L"candle";
Graph1->EndUpdate();
Graph1->EndUpdate();
|
29
|
Define a bubble chart-type

Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TNoParam(),TNoParam());
var_Serie->set_Data(TVariant("1 99 1,2 96 2,3 92 3,4 86 4,5 79 5,6 70 6,7 60 7,8 50 8,9 38 9,10 25 10,11 13 11"));
var_Serie->Type = L"bubble";
var_Serie->set_Misc(Exgraphlib_tlb::SerieMiscEnum::exScatterPlotSize,TVariant(96));
|
28
|
Is it possible to show the values with the same color (method 2)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exValueAxisFitLabel] = TVariant(true);
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exValueLineAddAngle] = TVariant(0);
Graph1->ValuePoint = L",,,,,,,,,0,0";
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Format = L"value ? (value / 1000000) + `<br><c>mil`: ``";
var_ValueAxis->Tfi = L"<fgcolor gray> bold";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589)") +
",Bangladesh(164689383),Russia(145934462),Mexico(128932753)"),TNoParam());
var_Serie->Type = L"column";
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
var_Serie->ValueFormat = L"((value format ``) replace `.00` with ``)";
var_Serie->set_Color(TVariant("blue"));
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
27
|
Is it possible to show the values with the same color (method 1)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exValueAxisFitLabel] = TVariant(true);
Graph1->Misc[Exgraphlib_tlb::MiscEnum::exValueLineAddAngle] = TVariant(0);
Graph1->ValuePoint = L",,,,,,,,,0,0";
Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Format = L"value ? (value / 1000000) + `<br><c>mil`: ``";
var_ValueAxis->Tfi = L"<fgcolor gray> bold";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589)") +
",Bangladesh(164689383),Russia(145934462),Mexico(128932753)"),TNoParam());
var_Serie->Type = L"column";
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint;
var_Serie->ValueFormat = L"((value format ``) replace `.00` with ``)";
Graph1->Series->Add(TVariant("0"),TNoParam())->Visible = false;
Graph1->Sort = L"0:D";
Graph1->EndUpdate();
|
26
|
Pie chart

Graph1->BeginUpdate();
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->Type = L"pie";
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
var_Serie->ValueFormat = L"category + `<br>` + ((percent) format ``) + `%`";
var_Serie->LegendFormat = L"label + `(` + ((percent) format ``) + `%)`";
Graph1->ValuePoint = L",,,,,,,,transparent";
Exgraphlib_tlb::ILegendPtr var_Legend = Graph1->Legend;
var_Legend->Visible = true;
Graph1->EndUpdate();
|
25
|
Define the pad for value-label

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,,,,,,,8";
Graph1->EndUpdate();
|
24
|
Hide the frame around the value-label

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,,,,,,0";
Graph1->EndUpdate();
|
23
|
Remove the frame around the value-label

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,,,,,transparent";
Graph1->EndUpdate();
|
22
|
Apply the color of the data-value to the value-label

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
var_Serie->ValueFormat = L"`<fgcolor white>` + value";
Graph1->ValuePoint = L",,,,,,,null";
Graph1->EndUpdate();
|
21
|
Apply an opaque color to the value-label

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,,,,red";
Graph1->EndUpdate();
|
20
|
Remove the line that connects the value point to value-label (method 2)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,,,0";
Graph1->EndUpdate();
|
19
|
Define a shorter line (connects the value point to value-label)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,,,8";
Graph1->EndUpdate();
|
18
|
Define the size of the line that connects the value point to value-label

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,,1";
Graph1->EndUpdate();
|
17
|
Hide the line that connects the value point to value-label

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,,0";
Graph1->EndUpdate();
|
16
|
Remove the line that connects the value point to value-label (method 1)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,transparent";
Graph1->EndUpdate();
|
15
|
Change the color to show the line that connects the value point to value-label

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,,red";
Graph1->EndUpdate();
|
14
|
Change the frame's size around the value-point

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,4";
Graph1->EndUpdate();
|
13
|
Change the frame's size around the value-point

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,,0";
Graph1->EndUpdate();
|
12
|
Hide the value-points, but still the value-label (method 2)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",transparent,transparent";
Graph1->EndUpdate();
|
11
|
Hide the value-points, but still the value-label (method 1)

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L"0";
Graph1->EndUpdate();
|
10
|
Change the color to show the border of the value-point

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",,black";
Graph1->EndUpdate();
|
9
|
Makes the value point to show in the data-color

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L",null";
Graph1->EndUpdate();
|
8
|
Defines bigger value-points

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Graph1->ValueAxis->Format = L"value/100000";
Exgraphlib_tlb::ISeriePtr var_Serie = Graph1->Series->Add(TVariant(String("Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000") +
"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)"),TNoParam());
var_Serie->ShowValue = Exgraphlib_tlb::ShowValueEnum(0xffffff78 | Exgraphlib_tlb::ShowValueEnum::exHideIfEmpty | Exgraphlib_tlb::ShowValueEnum::exValue | Exgraphlib_tlb::ShowValueEnum::exLine | Exgraphlib_tlb::ShowValueEnum::exPoint);
Graph1->ValuePoint = L"16";
Graph1->EndUpdate();
|
7
|
How can I change the color to show the axes (method 3)

Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Format = L"`<fgcolor red>` + value";
Graph1->Series->Add(TVariant(String("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)"),TNoParam());
|
6
|
How can I change the color to show the axes (method 2)

Exgraphlib_tlb::IValueAxisPtr var_ValueAxis = Graph1->ValueAxis;
var_ValueAxis->Tfi = L"<fgcolor red>";
Graph1->Series->Add(TVariant(String("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)"),TNoParam());
|
5
|
How can I change the color to show the axes (method 1)

Graph1->ForeColor = RGB(255,0,0);
Graph1->Series->Add(TVariant(String("Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8") +
"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)"),TNoParam());
|
4
|
Does the control's print supports "fit to page"

Graph1->BeginUpdate();
Graph1->AutoFit = true;
Exgraphlib_tlb::ISeriesPtr var_Series = Graph1->Series;
var_Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam());
var_Series->Add(TVariant("Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)"),TNoParam());
Graph1->EndUpdate();
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
ExPrint 1.0 Control Library
TypeLib: ExPrint.dll
to define the namespace: Exprintlib_tlb
*/
//#include "EXPRINTLIB_TLB.h"
Exprintlib_tlb::IExPrintPtr var_Print = Variant::CreateObject(L"Exontrol.Print");
var_Print->PrintExt = (IUnknown*)Graph1->DefaultDispatch;
var_Print->Preview();
|
3
|
How can I print the control

Graph1->BeginUpdate();
Graph1->ValueSize = 36;
Graph1->Series->Add(TVariant("Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)"),TNoParam());
Graph1->EndUpdate();
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
ExPrint 1.0 Control Library
TypeLib: ExPrint.dll
to define the namespace: Exprintlib_tlb
*/
//#include "EXPRINTLIB_TLB.h"
Exprintlib_tlb::IExPrintPtr var_Print = Variant::CreateObject(L"Exontrol.Print");
var_Print->PrintExt = (IUnknown*)Graph1->DefaultDispatch;
var_Print->Preview();
|
2
|
How do I change the control's foreground color

Graph1->BeginUpdate();
Graph1->ForeColor = RGB(255,0,0);
Graph1->Series->Add(TVariant("-1,2,-3,4"),TNoParam());
Graph1->AutoFit = true;
Graph1->EndUpdate();
|
1
|
How do I change the control's background color

Graph1->BeginUpdate();
Graph1->BackColor = RGB(240,240,240);
Graph1->Series->Add(TVariant("1,2,3,4"),TNoParam());
Graph1->AutoFit = true;
Graph1->EndUpdate();
|